package com.zbkj.crmeb.merchant.admin.service;

import com.common.PageParamRequest;
import com.zbkj.crmeb.chant.response.PickingProductResponse;
import com.zbkj.crmeb.export.vo.*;
import com.zbkj.crmeb.store.model.StoreProductUpload;
import com.zbkj.crmeb.store.request.StoreProductSearchRequest;
import com.zbkj.crmeb.store.response.StoreProductResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author Mr.Zhang
* @Description StoreProductService 接口
* @since 2020-05-06
*/
public interface MerExcelService {
    List<ProductExcelVo> product(StoreProductSearchRequest request);

    void parseList(List<ProductExcelVo> list);

    List<MerFlowExcelVo> getMerFlowList(Integer merId, Integer type, PageParamRequest request);

    List<MerFlowExcelVo> getAgentFlowExport(Integer adminAgentId, Integer type, PageParamRequest request);

    List<PickingProductExcelVo> parsePickingVoList(List<PickingProductResponse> responseList);

    List<FrontPickingProductExcelVo> parseFrontPickingVoList(List<PickingProductResponse> responseList);

    String uploadExcel(MultipartFile file, Integer merId);

    StoreProductUpload importProductList(List<UploadSupplierProductExcelVo> list, Integer merId);

}
